
#include <stdio.h>

int main(void) {
    double arr[4] = {1.5, 2, 3, 4};
    double *p;

    p = &arr[0];
    printf("p中存储的值：%p\n", p);
    printf("p所指变量的值：%.1f\n\n", *p);
    p = p + 1;
    printf("p自增1后：\n");
    printf("p中存储的值：%p\n", p);
    printf("p所指变量的值：%.1f\n", *p);
}